package com.xiaohe66.web.application.birth.bo;

import com.xiaohe66.common.validator.annotation.Max;
import com.xiaohe66.common.validator.annotation.Min;
import lombok.Data;

/**
 * @author xiaohe
 * @since 2023.07.13 14:10
 */
@Data
public class BirthdaySaveBo {

    private Long id;

    @Min(1)
    @Max(60)
    private String name;

    @Min(0)
    @Max(1)
    private Integer birthType;

    @Min(1900)
    @Max(3000)
    private Integer year;

    @Min(1)
    @Max(12)
    private Integer month;

    @Min(1)
    @Max(31)
    private Integer day;

}
